package com.burger.counter.business;

import com.burger.counter.beans.Beverage;
import com.burger.counter.dao.BeverageDao;

public class BeverageBusiness {
	public Beverage[] getBeverageDetails(int regionId) throws Exception{
		System.out.println("we r in business layer");
		BeverageDao beverageDao = new BeverageDao();
		Beverage[] beverage=beverageDao.getBeverageDetails(regionId);
		return beverage;
	}
	
	public void setBeverageCount(int regionId,String BeverageName) throws Exception{
		System.out.println("we r in business layer");
		BeverageDao beverageDao = new BeverageDao();
		beverageDao.setBeverageCount(regionId, BeverageName);
	}	
}
